package com.oa.admin.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@ApiModel("公告添加")
@Data
public class BulletinAddDTO {

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "公告标题")
    private String title;

    @ApiModelProperty(value = "正文")
    private String text;

    @ApiModelProperty(value = "主送人")
    private String recipient;

    @ApiModelProperty(value = "抄送人")
    private String copyFor;

    @ApiModelProperty(value = "发文部门id")
    private String departmentId;

    @ApiModelProperty(value = "拟稿人id")
    private String createrId;

    @ApiModelProperty(value = "拟稿日期")
    private Date createTime;

    @ApiModelProperty(value = "发布日期")
    private Date releaseTime;

    @ApiModelProperty(value = "状态(选择)")
    private Integer state;

    @ApiModelProperty("公告附件")
    private List<BulletinFileAddDTO> bulletinFiles;
}
